#ifndef KMYSPRITETEMPLATE_H
#define KMYSPRITETEMPLATE_H

#include "KmyStructDef.h"
#include "KmySpriteTypedef.h"
#include "KmyImagePak.h"

class KmySpriteTemplate
{
public:
    KmySpriteTemplate();
    virtual ~KmySpriteTemplate();

    void initialize();
    void finalize();
    ///----------const Data begin-------
    string spritename;
    string imagepakname;

    KmyImagePak *imagepak;

    int imagepart_num;
    ST_imagePart* image_parts;

    int cdpart_num;
    ST_cdPart* cd_parts;

    int image_frame_num;
    ST_indexs* ifs;

    int cd_frame_num;
    ST_indexs* cfs;

    int anime_num;
    ST_anime* animes;

    St_Rect max_range;
};

#endif // KMYSPRITETEMPLATE_H
